<template>
	<div class="wrapYueCharge">
		<div class="yueCharge">
			<span class="spanTitle">卡号</span>
			<p class="inputP">
				<span>31049907</span>
				<input placeholder="请输入后11位卡号" />
				<i><img src="../../static/img/bottomArrow.png" /></i>
				<small class="cardNumList">
					<ul>
						<li><span class="spanNum">212313212123123123132</span><span class="spanName">爸爸</span></li>
						<li><span class="spanNum">212313212123123123132</span><span class="spanName">爸爸</span></li>
						<li><span class="spanNum">212313212123123123132</span><span class="spanName">爸爸</span></li>
						<li><span class="spanNum">212313212123123123132</span><span class="spanName">爸爸</span></li>
						<li><span style="text-align: center;color: #979797;display: block;font-size: 0.4rem;">选择/添加常用卡号</span></li>
					</ul>
				</small>	
			</p>
			<div class="kaMark">
				<img src="../../static/img/yuanLogo.png" />
				<p>
					<span class="spanType">学生卡</span>
					<span class="spanData">当前使用截止日期2017年12月31号</span>
				</p>
			</div>
			<p class="pPrice"><span class="spanL">价格</span><span class="spanR">20元/120次/月</span></p>
			<p class="pMonth"><span class="spanL">充值月份</span><span class="spanR">2019年6月</span></p>
			<span class="spanTitle">支付方式</span>
			<p class="chargeType"><img class="logoImg" src="../../static/img/zhaoshang.png" /><span>招商银行一网通</span><img class="chooseImg" src="../../static/img/choosed.png" /></p>
			<button class="chargeBtn">立即充值</button>
			<p class="pWarn">
				<span>温馨提示：</span>
				<span style="color: #55c259;">1.每月10号前（含10号）可充值当月月票，10号后只允许次月月票；</span>
				<span>2.最多充值近一个月的月票；</span>
				<span>3.月票使用规则与公交公司一致。如有疑问请拨打服务热线0555-96345。</span>
			</p>
		</div>
	</div>
</template>

<script>
	export default{
		data(){
			return{
				
			}
		}
	}
</script>

<style scoped="scoped" lang="less">
		@grayColor:#979797;
		.wrapYueCharge{
			height: 100%;
			width: 100%;
			background: #f3f9f6;
			box-sizing: border-box;
			padding-top: 0.48rem;
			overflow-y: scroll;
			padding-bottom: 0.48rem;
		}
		.yueCharge{
			width: 92%;
			margin-left: 4%;
			box-shadow: 0 0px 2px 2px #e4f3e7;
			background: white;
			border-radius: 0.3rem;
			box-sizing: border-box;
			padding-left: 0.54rem;
			padding-right: 0.54rem;
			padding-bottom:0.6rem;
			padding-top: 0.36rem;
		}
		.inputP{
			width: 100%;
			height:1.22rem;
			background: #f5f6f7;
			border-radius: 0.9rem;
			font-size: 0.42rem;
			margin-top: 0.35rem;
			position: relative;
			span{
				height: 100%;
				line-height: 1.22rem;
				padding-left: 0.6rem;
				color: @grayColor;
				display: inline-block;
			}
			input::-webkit-input-placeholder{
				color: @grayColor;
			}
			input{
				box-sizing: border-box;
				padding: 0;
				height: 100%;
				line-height: 100%;
				background: #f5f6f7;
				margin-left: 1.5rem;
				width: 3.5rem;
			
			}
			i{
				float: right;
				height: 100%;
				line-height: 1.22rem;
				margin-right: 0.58rem;
				img{
					height: 0.3rem;
				}
			}
			
			.cardNumList{
				border-radius: 0.7rem;
				border: 1px solid #55c259;
				padding-top:1.22rem ;
				position: absolute;
				top: 0;
				left: 0;
				width: 100%;
				background: ;
				overflow: hidden;
				display: none;
				ul{
					background: white;
					li{
						height:1.1rem;
						font-size: 0.44rem;
						.spanNum{
							color: #2d2d2d;
							float: left;
							height: 100%;
							line-height: 1.1rem;
						}
						.spanName{
							float: right;
							height: 100%;
							line-height: 1.1rem;
							margin-right:0.52rem ;
							color:#55c259 ;
						}
					}
				}
			}
		}
		
		.kaMark{
			width: 100%;
			border-radius: 0.2rem;
			background: #55c259;
			margin-top: 0.56rem;
			height: 2.48rem;
			img{
				width: 1.32rem;
				margin-top:0.56rem ;
				margin-left: 0.42rem;
				float: left;
			}
			p{
				margin-left: 0.38rem;
				float: left;
				margin-top: 0.7rem;
				.spanType{
					color: white;
					font-size:0.44rem;
					display: block;
				}
				.spanData{
					color: #b7e2b8;
					font-size: 0.38rem;
					display: block;
				}
			}
		}
		.pPrice{
			margin-top: 0.7rem;
		}
		.pMonth{
			border-bottom: 1px solid #EEEEEE;
			padding-bottom: 0.2rem;
		}
		.pPrice,.pMonth{
			font-size: 0.42rem;
			height:0.98rem ;
			.spanL{
				float: left;
				color: #979797;
			}
			.spanR{
				float: right;
				color: #55c259;
			}
		}
		.spanTitle{
			font-size: 0.4rem;
			color:@grayColor;
			padding-top: 0.42rem;
			display: block;
		}
		.chargeType{
			overflow: hidden;
			height: 0.7rem;
			margin-top: 0.45rem;
			.logoImg{
				width: 0.7rem;
				float: left;
			}
			span{
				font-size: 0.42rem;
				float: left;
				height: 0.7rem;
				line-height: 0.7rem;
				margin-left:0.44rem;
			}
			.chooseImg{
				float: right;
				width: 0.7rem;
			}
		}
		.chargeBtn{
			width: 100%;
			border-radius: 0.8rem;
			background:#55c259 ;
			color: white;
			font-size: 0.42rem;
			border: 0 none;
			height: 1.2rem;
			margin-top:0.7rem;
		}
		.pWarn{
			margin-top: 0.5rem;
			span{
				font-size: 0.4rem;
				color: #b3b3b3;
				display: block;
				margin-top: 0.05rem;
			}
		}
		
		
</style>